function draw() {
	
	var money = $("#money").val().trim();
	if (money == null || money == "") {
		alert("请输入提现金额");
		return;
	}
	if (isNaN(money)) {
		alert("提现金额必须为数字");
		return;
	}
	var canDrawMoney = $("#canDrawMoney").val();
	if (parseFloat(money) > parseFloat(canDrawMoney)) {
		alert("提现金额已超出账户可余额!");
		return;
	}
	if (parseFloat(money) <= 0) {
		alert("提现金额不能为0");
		return;
	}
	var bankcard_id=$("input[name='bankcard_no']:checked").val();
	new Helper.RemoteTrans({
		params:{money:money,bankCardId:bankcard_id},
		url : Helper.basePath
				+ "/member_operate/draw.htm",
		isAsync : false,
		onSuccess : function(jsonData) {
			if(jsonData.isSuccess){
				if(jsonData.returnObject){
					var direc_page = window.open("", "direc_page");
					direc_page.document
							.write(jsonData.returnValue.orderFormContent);
				}else{
					Helper.message(jsonData.message);
					 window.location.href=Helper.basePath+"/memberCenter/index.htm"; 
					return;
				}
			}else{
				
				Helper.message(jsonData.message);
			}
		},
		onError : function(data) {
			Helper.message(data.message);
		}
	}).send();
}